package com.threeonemeeting.listcache;

import android.view.View;
import android.widget.TextView;

import com.threeonemeeting.R;

public class MeetingNameInfoCache {

	private View baseView;

	private int meetingId;
	private TextView meetingTitleTextView;

	public MeetingNameInfoCache(View baseView, int meetingId) {
		this.baseView = baseView;
		this.meetingId = meetingId;
	}

	public int getMeetingId() {
		return this.meetingId;
	}

	public TextView getMeetingTitleTextView() {
		if (meetingTitleTextView == null) {
			meetingTitleTextView = (TextView) baseView
					.findViewById(R.id.meeting_title);
		}
		return meetingTitleTextView;
	}
}
